package com.wwt.server.service;

import com.wwt.server.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tao
 * @since 2021-12-05
 */
public interface IRoleService extends IService<Role> {
    //根据用户ID获取相应的角色列表
    List<Role> getRolesByAdminId(Integer adminId);

    boolean deleteByRoleName(String roleName);
}
